Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / CommandResult Structure / CommandResult Constructor / CommandResult Constructor(Boolean,CommandActions,Worksheet,Reference[],CellReference)
The command is executed successful
The action that should be handled after the command is executed
The worksheet processed by the command
The selections that were modified by the command
The modified active cell.


In This Topic
CommandResult Constructor(Boolean,CommandActions,Worksheet,Reference[],CellReference)
In This Topic
Initializes static members of the CommandResult struct.
Syntax
'Declaration
 
Public Function New( _
   ByVal success As Boolean, _
   ByVal commandAction As CommandActions, _
   ByVal worksheet As Worksheet, _
   ByVal selections() As Reference, _
   ByVal activeCell As CellReference _
)
 
'Usage
 
Dim success As Boolean
Dim commandAction As CommandActions
Dim worksheet As Worksheet
Dim selections() As Reference
Dim activeCell As CellReference
 
Dim instance As New CommandResult(success, commandAction, worksheet, selections, activeCell)

Parameters

success
The command is executed successful
commandAction
The action that should be handled after the command is executed
worksheet
The worksheet processed by the command
selections
The selections that were modified by the command
activeCell
The modified active cell.
See Also